package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.RpDao;
import com.bootdo.sell.domain.RpDO;
import com.bootdo.sell.service.RpService;



@Service
public class RpServiceImpl implements RpService {
	@Autowired
	private RpDao rpDao;
	
	@Override
	public RpDO get(Integer rid){
		return rpDao.get(rid);
	}
	
	@Override
	public List<RpDO> list(Map<String, Object> map){
		return rpDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return rpDao.count(map);
	}
	
	@Override
	public int save(RpDO rp){
		return rpDao.save(rp);
	}
	
	@Override
	public int update(RpDO rp){
		return rpDao.update(rp);
	}
	
	@Override
	public int remove(Integer rid){
		return rpDao.remove(rid);
	}
	
	@Override
	public int batchRemove(Integer[] rids){
		return rpDao.batchRemove(rids);
	}
	
}
